package jmu.cyxwcy.librarymanagement.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import jmu.cyxwcy.librarymanagement.pojo.Fines;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-06-27
 */
public interface FinesMapper extends MPJBaseMapper<Fines> {

    @Update("update library_management.fines set payment_status=#{paymentStatus} where fine_id=#{fineId}")
    void updatePaymentStatus(Integer fineId, String paymentStatus);
}
